<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>查找元素节点</title>
</head>
<body>
	<div id="app" class="container app">
		<!-- 头部 -->
		<div class="header">头部</div>
		<!-- 内容 -->
		<div class="content">
			<ul>
				<li>one</li>
				<li>two</li>
				<li>three</li>
			</ul>
		</div>
		<!-- 底部 -->
		<div class="footer"></div>
	</div>
	<script type="text/javascript">
		var dom = document.querySelectorAll("li");
		console.log(dom);
		dom = document.getElementsByTagName("li");
		console.log(dom);
		console.log(document.querySelectorAll("#app > div"));
	</script>
</body>
</html>